/**
 * @author 太阳当空丶赵
 * @date 2022/12/1-17:00
 * @version 1.0.0
 * adminLoginRules
 */
const joi = require("joi")

// 定义验证规则
const content = joi.string().min(1).max(1000).required()
const imageUrl = joi.string()

module.exports.feedbackRules = {
    body: {
        content,
        imageUrl
    }
}
